package com.kaishengit.action;

import java.util.Map;

import org.apache.struts2.interceptor.SessionAware;

import com.opensymphony.xwork2.ActionSupport;

public  class BaseAction extends ActionSupport implements SessionAware{
	
	private static final long serialVersionUID = 1L;
	public static final String LIST = "list";
	private Map<String,Object> session;
	

	public String save() {
		return null;
	}
	public String del() {
		return null;
	}
	public String update() {
		return null;
	}
	public String list() {
		return null;
	}
	
	
	
	public void putInSession(String key,Object value){
		session.put(key, value);
	}
	
	public void getFromSession(String key){
		session.get(key);
	}
	
	//set
	public void setSession(Map<String, Object> session) {
		this.session = session;
	}
	
	
}
